<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>表单验证</title>
    <link rel="stylesheet" href="./css/style.css">
</head>
<body>
    <div class="container">
        <h2>注册信息</h2>
        <form action="http://baidu.com">
            <div class="form-group ">
                <label for="username">用户名：</label>
                <input type="text" id="username" name="username">
                <span class="help "></span>
            </div>
            <div class="form-group">
                <label for="email">邮箱：</label>
                <input type="text" id="email" name="email">
                <span class="help "></span>
            </div>
            <div class="form-group">
                <label for="pwd1">密码：</label>
                <input type="text" id="pwd1" name="pwd1">
                <span class="help "></span>
            </div>
            <div class="form-group">
                <label for="pwd2">密码确认：</label>
                <input type="text" id="pwd2" name="pwd2">
                <span class="help "></span>
            </div>
            <div class="form-group">
                <button id="submit">注册</button id>
            </div>
        </form>
    </div>
    <script src="./js/validate-1.2.js"></script>
</body>
</html>